﻿package com.obas.model.business
{
	import com.ease.model.LifecycleModel;
	import com.obas.model.metadata.EntityType;

	[Bindable]
	[RemoteClass(alias="com.obas.model.business.Entity")]
	
	public /** abstract */ class Entity
		extends
			com.ease.model.LifecycleModel
	{
		public static const ATTRIBUTE_entityTypeId:String="entityTypeId";
		public static const ATTRIBUTE_entityTypeIds:String="entityTypeIds";
		public static const COLUMN_ENTITYTYPE_ID:String="ENTITYTYPE_ID";

		private var _entityTypeId:Number;
		private var _entityType:com.obas.model.metadata.EntityType;

		public function Entity()
		{
		}

		public function get entityTypeId():Number
		{
			return _entityTypeId;
		}

		public function set entityTypeId(value:Number):void
		{
			_entityTypeId = value;
		}

		public function get entityType():com.obas.model.metadata.EntityType
		{
			return _entityType;
		}

		public function set entityType(value:com.obas.model.metadata.EntityType):void
		{
			_entityType = value;
		}
	}
}